\doxysection{Log类 参考}
\hypertarget{class_log}{}\label{class_log}\index{Log@{Log}}


{\ttfamily \#include $<$Log.\+h$>$}

\doxysubsubsection*{Public 类型}
\begin{DoxyCompactItemize}
\item 
enum class \mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196e}{Log\+Level}} \{ \newline
\mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196eaa603905470e2a5b8c13e96b579ef0dba}{Debug}} = 0
, \mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196ea4059b0251f66a18cb56f544728796875}{Info}}
, \mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196ea0eaadb4fcb48a0a0ed7bc9868be9fbaa}{Warning}}
, \mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196ea902b0d55fddef6f8d651fe1035b7d4bd}{Error}}
, \newline
\mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196ea882384ec38ce8d9582b57e70861730e4}{Fatal}}
 \}
\begin{DoxyCompactList}\small\item\em 输出日志等级 \end{DoxyCompactList}\item 
enum class \mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} \{ \mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4abccaa4aa80831b76c11240a16447975f}{Console}} = 0
, \mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4a0b27918290ff5323bea1e3b78a9cf04e}{File}}
 \}
\begin{DoxyCompactList}\small\item\em 输出日志目标 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_log_ad28be861570fb4e253648f2ed523baa9}{Log}} (\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} \&\mbox{\hyperlink{class_log_a3311673c7e559b49468f6b664d09a2c7}{m\+Output}}, const std\+::string \&\mbox{\hyperlink{class_log_adbf2ffa57feb201908fcb5ee996e78f3}{m\+Content}}, const std\+::string \&\mbox{\hyperlink{class_log_ac191fc86e9c16bf815adcf20dd5d82ca}{m\+File\+Name}}, const std\+::string \&\mbox{\hyperlink{class_log_a4a3c02e802734b1690fddddec43f75ec}{m\+Path}})
\item 
\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} \mbox{\hyperlink{class_log_a83ced3082600d5caaa3c6b2def9db8ff}{get\+MOutput}} () const
\begin{DoxyCompactList}\small\item\em 返回输出目标类型 \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{class_log_a36b2571070b6dfaccf717f6088c37bd1}{get\+MContent}} () const
\begin{DoxyCompactList}\small\item\em 返回输出内容 \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{class_log_a6100d34b345726bd7cdd1419b6a9ff48}{get\+MFile\+Name}} () const
\begin{DoxyCompactList}\small\item\em 返回输出目标文件名 \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{class_log_a0f74536afad04a76876dcfb6c6b37cde}{get\+MPath}} () const
\begin{DoxyCompactList}\small\item\em 返回输出目标文件路径 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static std\+::string \mbox{\hyperlink{class_log_ac9147a9cca514b1a8d3d064859ea4c77}{level\+To\+String}} (\mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196e}{Log\+::\+Log\+Level}} \&level)
\end{DoxyCompactItemize}
\doxysubsubsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} \mbox{\hyperlink{class_log_a3311673c7e559b49468f6b664d09a2c7}{m\+Output}}
\item 
std\+::string \mbox{\hyperlink{class_log_adbf2ffa57feb201908fcb5ee996e78f3}{m\+Content}}
\item 
std\+::string \mbox{\hyperlink{class_log_ac191fc86e9c16bf815adcf20dd5d82ca}{m\+File\+Name}}
\item 
std\+::string \mbox{\hyperlink{class_log_a4a3c02e802734b1690fddddec43f75ec}{m\+Path}}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
\begin{DoxyAuthor}{作者}
liangxi 
\end{DoxyAuthor}
\begin{DoxySince}{自从}
2024/3/28 日志类实体 
\end{DoxySince}


\doxysubsection{成员枚举类型说明}
\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196e}\index{Log@{Log}!LogLevel@{LogLevel}}
\index{LogLevel@{LogLevel}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{LogLevel}{LogLevel}}
{\footnotesize\ttfamily \label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
enum class \mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196e}{Log\+::\+Log\+Level}}\hspace{0.3cm}{\ttfamily [strong]}}



输出日志等级 

\begin{DoxyEnumFields}[2]{枚举值}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Debug@{Debug}!Log@{Log}}\index{Log@{Log}!Debug@{Debug}}}\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196eaa603905470e2a5b8c13e96b579ef0dba}\label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
Debug&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Info@{Info}!Log@{Log}}\index{Log@{Log}!Info@{Info}}}\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196ea4059b0251f66a18cb56f544728796875}\label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
Info&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Warning@{Warning}!Log@{Log}}\index{Log@{Log}!Warning@{Warning}}}\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196ea0eaadb4fcb48a0a0ed7bc9868be9fbaa}\label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
Warning&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Error@{Error}!Log@{Log}}\index{Log@{Log}!Error@{Error}}}\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196ea902b0d55fddef6f8d651fe1035b7d4bd}\label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
Error&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Fatal@{Fatal}!Log@{Log}}\index{Log@{Log}!Fatal@{Fatal}}}\Hypertarget{class_log_a3718f3e276c3d3e23b58a3b8236d196ea882384ec38ce8d9582b57e70861730e4}\label{class_log_a3718f3e276c3d3e23b58a3b8236d196e} 
Fatal&\\
\hline

\end{DoxyEnumFields}
\Hypertarget{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}\index{Log@{Log}!Output@{Output}}
\index{Output@{Output}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{Output}{Output}}
{\footnotesize\ttfamily \label{class_log_ae9a5b0a1962f5076860bde2221f8e9e4} 
enum class \mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Log\+::\+Output}}\hspace{0.3cm}{\ttfamily [strong]}}



输出日志目标 

\begin{DoxyEnumFields}[2]{枚举值}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Console@{Console}!Log@{Log}}\index{Log@{Log}!Console@{Console}}}\Hypertarget{class_log_ae9a5b0a1962f5076860bde2221f8e9e4abccaa4aa80831b76c11240a16447975f}\label{class_log_ae9a5b0a1962f5076860bde2221f8e9e4} 
Console&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{File@{File}!Log@{Log}}\index{Log@{Log}!File@{File}}}\Hypertarget{class_log_ae9a5b0a1962f5076860bde2221f8e9e4a0b27918290ff5323bea1e3b78a9cf04e}\label{class_log_ae9a5b0a1962f5076860bde2221f8e9e4} 
File&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{构造及析构函数说明}
\Hypertarget{class_log_ad28be861570fb4e253648f2ed523baa9}\index{Log@{Log}!Log@{Log}}
\index{Log@{Log}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{Log()}{Log()}}
{\footnotesize\ttfamily \label{class_log_ad28be861570fb4e253648f2ed523baa9} 
Log\+::\+Log (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} \&}]{m\+Output}{, }\item[{const std\+::string \&}]{m\+Content}{, }\item[{const std\+::string \&}]{m\+File\+Name}{, }\item[{const std\+::string \&}]{m\+Path}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{成员函数说明}
\Hypertarget{class_log_a36b2571070b6dfaccf717f6088c37bd1}\index{Log@{Log}!getMContent@{getMContent}}
\index{getMContent@{getMContent}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{getMContent()}{getMContent()}}
{\footnotesize\ttfamily \label{class_log_a36b2571070b6dfaccf717f6088c37bd1} 
const std\+::string \& Log\+::get\+MContent (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回输出内容 

\Hypertarget{class_log_a6100d34b345726bd7cdd1419b6a9ff48}\index{Log@{Log}!getMFileName@{getMFileName}}
\index{getMFileName@{getMFileName}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{getMFileName()}{getMFileName()}}
{\footnotesize\ttfamily \label{class_log_a6100d34b345726bd7cdd1419b6a9ff48} 
const std\+::string \& Log\+::get\+MFile\+Name (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回输出目标文件名 

\Hypertarget{class_log_a83ced3082600d5caaa3c6b2def9db8ff}\index{Log@{Log}!getMOutput@{getMOutput}}
\index{getMOutput@{getMOutput}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{getMOutput()}{getMOutput()}}
{\footnotesize\ttfamily \label{class_log_a83ced3082600d5caaa3c6b2def9db8ff} 
\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} Log\+::get\+MOutput (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回输出目标类型 

\Hypertarget{class_log_a0f74536afad04a76876dcfb6c6b37cde}\index{Log@{Log}!getMPath@{getMPath}}
\index{getMPath@{getMPath}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{getMPath()}{getMPath()}}
{\footnotesize\ttfamily \label{class_log_a0f74536afad04a76876dcfb6c6b37cde} 
const std\+::string \& Log\+::get\+MPath (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



返回输出目标文件路径 

\Hypertarget{class_log_ac9147a9cca514b1a8d3d064859ea4c77}\index{Log@{Log}!levelToString@{levelToString}}
\index{levelToString@{levelToString}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{levelToString()}{levelToString()}}
{\footnotesize\ttfamily \label{class_log_ac9147a9cca514b1a8d3d064859ea4c77} 
static std\+::string Log\+::level\+To\+String (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_log_a3718f3e276c3d3e23b58a3b8236d196e}{Log\+::\+Log\+Level}} \&}]{level}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



\doxysubsection{类成员变量说明}
\Hypertarget{class_log_adbf2ffa57feb201908fcb5ee996e78f3}\index{Log@{Log}!mContent@{mContent}}
\index{mContent@{mContent}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{mContent}{mContent}}
{\footnotesize\ttfamily \label{class_log_adbf2ffa57feb201908fcb5ee996e78f3} 
std\+::string Log\+::m\+Content\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_log_ac191fc86e9c16bf815adcf20dd5d82ca}\index{Log@{Log}!mFileName@{mFileName}}
\index{mFileName@{mFileName}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{mFileName}{mFileName}}
{\footnotesize\ttfamily \label{class_log_ac191fc86e9c16bf815adcf20dd5d82ca} 
std\+::string Log\+::m\+File\+Name\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_log_a3311673c7e559b49468f6b664d09a2c7}\index{Log@{Log}!mOutput@{mOutput}}
\index{mOutput@{mOutput}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{mOutput}{mOutput}}
{\footnotesize\ttfamily \label{class_log_a3311673c7e559b49468f6b664d09a2c7} 
\mbox{\hyperlink{class_log_ae9a5b0a1962f5076860bde2221f8e9e4}{Output}} Log\+::m\+Output\hspace{0.3cm}{\ttfamily [private]}}

\Hypertarget{class_log_a4a3c02e802734b1690fddddec43f75ec}\index{Log@{Log}!mPath@{mPath}}
\index{mPath@{mPath}!Log@{Log}}
\doxysubsubsection{\texorpdfstring{mPath}{mPath}}
{\footnotesize\ttfamily \label{class_log_a4a3c02e802734b1690fddddec43f75ec} 
std\+::string Log\+::m\+Path\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Log/\+Header/\+Component/\mbox{\hyperlink{_log_8h}{Log.\+h}}\end{DoxyCompactItemize}
